/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package miage.sessions.persistant;

import java.rmi.RemoteException;
import javax.ejb.FinderException;
import javax.ejb.Local;
import miage.beans.ClientPresentation;
import miage.entities.Client;

/**
 *
 * @author Pepito
 */
@Local
public interface AccountClientFacadeLocal {
    public Client getClientByAuthentification(String login, String password)throws FinderException, RemoteException ;
    public void addClient(ClientPresentation client)throws FinderException, RemoteException ;
    public void deleteClient(String login, String password)throws FinderException, RemoteException ;
    public void updateClient(ClientPresentation client)throws FinderException, RemoteException;
    public Client getClientByIban(String client) throws FinderException, RemoteException;
    public miage.entities.Client getClientByLogin(java.lang.String login);
}
